<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
</html>

<script type="text/javascript">
	const arr = [1,23,4,6,6];
	const num = arr.find((n)=> {
		// 查找的条件
//		return n === 1;
		return n > 4;
	})
	console.log(num);
	
	console.log(arr.includes(6)); // true
	
</script>
